-- cmd_buy_puzzle_box
-- Create by cheny3
-- 购买罐子

function Operation.cmd_buy_puzzle_box(puzzleType, num)
    -- 客户端先自行购买
    if not PetShopM.buyPuzzleBox(puzzleType, num) then
        return;
    end

    -- 记录起来，需要进行同步
    v = { ["type"] = puzzleType, ["num"] = num};
    SyncM.addMessage("CMD_BUY_PUZZLE_BOX", v);
    SyncM.startSync();
end
